#ifndef CRATECONTENT_H
#define CRATECONTENT_H

#include <huniplacer/huniplacer.h>

#include "CrateModel.h"
#include "Picking.h"

class CrateModel;

using namespace huniplacer;

class CrateContent : public Picking {
public:
	CrateContent(CrateModel* crate, int index, point3 location, point3 size, float r, float g, float b);
	
	void change_color(float r, float g, float b);
	
	void draw();

	CrateModel* crate;
	int index;
private:
	point3 location, size;
	
	float color[3];

};

#endif
